<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="{{ csrf_token() }}" />
    <title>{{config('site.sitename')}} | 登录</title>

    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="/assets/font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="/assets/css/animate.css" rel="stylesheet">
    <link href="/assets/css/style.min.css" rel="stylesheet">

</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name" style="font-size:50px;letter-spacing:4px;">{{config('site.sitename')}}</h1>

            </div>
            <h3>Welcome to {{config('site.sitename')}}</h3>
            <p>登录</p>
            <form class="m-t" role="form" method="post" action="/auth/login">
            {!! csrf_field() !!}
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名" name="username" required="">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码" name="password" required="">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登录</button>

                <!-- <a href="#"><small>忘记密码？</small></a> -->
                <!-- <p class="text-muted text-center"><small>还没账号?</small></p> -->
                <!-- <a class="btn btn-sm btn-white btn-block" href="/auth/register">注册</a> -->
            </form>
            <p class="m-t"> <small>{{config('site.sitename')}} &copy; 2015</small> </p>
        </div>
    </div>

    <!-- Mainly scripts -->
    <script src="/assets/js/jquery-2.1.1.js"></script>
    <script src="/assets/js/bootstrap.min.js"></script>
    <script>$(function(){$.ajaxSetup({headers: {'X-CSRF-TOKEN':$('meta[name="csrf-token"]').attr('content')}});})</script>

</body>

</html>
